package com.lsk.apipassenger.service;

import com.lsk.apipassenger.remote.ServiceOrderClient;
import com.lsk.internalcommon.DTO.ResponseResult;
import com.lsk.internalcommon.request.OrderRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    @Autowired
    private ServiceOrderClient serviceOrderClient;

    public ResponseResult addOrder(OrderRequest order){
        return serviceOrderClient.addOrder(order);
    }
}
